package com.wolfpire.workflow.spring.impl;

import java.util.List;
import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wolfpire.system.common.base.dao.IBaseHibernateDao;
import com.wolfpire.system.common.base.service.impl.BaseHibernateService;
import com.wolfpire.workflow.dao.NodeDao;
import com.wolfpire.workflow.om.Node;
import com.wolfpire.workflow.spring.NodeService;


@Service("nodeService")
public class NodeServiceImpl extends BaseHibernateService<Node, Long> implements NodeService {
	
	@Resource private NodeDao nodeDao;

	@Override
	public List<Node> list(Node entity) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected IBaseHibernateDao<Node, Long> getEntityDao() {
		return this.nodeDao;
	}

	@Override
	public Node getNode(Long deploymentId, String nodeName) {
		return this.nodeDao.getNode(deploymentId, nodeName);
	}

	
}
